package com.qf.common.domain.admin.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @author : sin
 * @date : 2024/6/19 14:03
 * @Description : 当前用户信息
 */
@TableName(value = "当前用户信息响应")
@Data
@AllArgsConstructor
public class UserInfoVO {

    private Long userId;

    private String username;

    private String nickname;

    private String avatar;

    private String email;

    private String mobile;

    private Integer gender;

    private String roleName;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
